<?php
    /**
     * Created by PhpStorm.
     * User: timeteam
     * Date: 18-11-14
     * Time: 上午11:43
     */

    namespace app\index\controller;


    use think\Controller;
    use think\Db;
    use think\Exception;

    class Maill extends Controller
    {
        public function index()
        {
            try {
                Db::startTrans();
                Db::query('select * from member');
                Db::commit();

            } catch (Exception $exception) {
                Db::rollback();
                ExceptionMail($exception);

            }
        }

    }